<!-- 修改企业信息 -->
<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<!DOCTYPE html>

<html>

	<head>
		<meta charset="utf-8">
		<script type="text/javascript" src="${pageContext.request.contextPath }/js/common/jquery-1.9.1.min.js"></script>
		<script type="text/javascript" src="${pageContext.request.contextPath }/js/common/jquery.validate.min.js"></script>
		<script type="text/javascript" src="${pageContext.request.contextPath }/js/enterprise/enter_changeInfo.js"></script>
		<script type="text/javascript" src="${pageContext.request.contextPath }/js/common/cropbox.js"></script>
		<link href="${pageContext.request.contextPath }/css/enterprise/enter_changeInfo.css" rel="stylesheet">
		<link href="${pageContext.request.contextPath }/css/bootstrap/bootstrap.min.css" rel="stylesheet">
		<title></title>
	</head>

	<body>
		<form action="${pageContext.request.contextPath}/enterprise/changeInfo.do" method="post" enctype="multipart/form-data" class="addForm">
			<div class="image" style="margin-top: 12px;">
				<div class="croppedfile">
				    <img src="${pageContext.request.contextPath }/${enterpriseInfo.logo_link }"  align="absmiddle" style="width:128px;margin-top:4px;border-radius:128px;box-shadow:0px 0px 12px #7E7E7E;">
					<input type="hidden" name="logo_link" value="${enterpriseInfo.logo_link }" >
					<input type="hidden" name="user_id" value="${enterpriseInfo.user_id }" >
					<input type="hidden" name="id" value="${enterpriseInfo.id}">
					<input type="hidden" name="name" value="${enterpriseInfo.name}">
					<input type="hidden" name="popularity" value="${enterpriseInfo.popularity}">
				</div>
				<a class="addHref" href="javascript:;">点击更换头像</a>
				<div class="imgcontainer">
					<div class="left">
						<div class="imageBox">
							<div class="thumbBox"></div>
							<div class="spinner" style="display: none">Loading...</div>
						</div>
						<div class="action">
							<div class="new-contentarea tc">
								<a href="javascript:void(0)" class="upload-img">
									<label for="upload-file" style="margin-top: 2px;">上传图像</label>
								</a>
								<input type="file" name="logo_pic" id="upload-file" />
								<a class="closeimgcontainer">确定上传</a>
							</div>
							<input type="button" id="btnCrop" class="Btnsty_peyton" value="裁切">
							<input type="button" id="btnZoomIn" class="Btnsty_peyton" value="+">
							<input type="button" id="btnZoomOut" class="Btnsty_peyton" value="-">
						</div>
					</div>
					<div class="cropped"></div>
				</div>
			</div>
			<div class="info">
				<div class="addPhoto" style="height: 48px;">
					<span>企业名称：</span>&nbsp;&nbsp;&nbsp;
					<input type="text" disabled="disabled" value="${enterpriseInfo.name}" />
				</div>
				<div class="addPhoto">
					<div class="forvalidate">
						<span>地址：</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
						<input type="text" class="input" name="address" value="${enterpriseInfo.address}"/>
					</div>
					<div class="forvalidate">
						<span>&nbsp;&nbsp;&nbsp;&nbsp;电话：</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
						<input type="text" class="input" name="phone" value="${enterpriseInfo.phone}"/>
					</div>
				</div>
				<div class="addPhoto">
					<div class="forvalidate">
						<span>传真：</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
						<input type="text" class="input" name="fax" value="${enterpriseInfo.fax}"/>
					</div>
					<div class="forvalidate">
						<span>&nbsp;&nbsp;&nbsp;&nbsp;网址：</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
						<input type="text" class="input" name="website" value="${enterpriseInfo.website}"/>

					</div>
				</div>
				<div class="addPhoto">
					<div class="forvalidate">
						<span>联系人电话：</span>
						<input type="text" class="input" name="link_phone" value="${enterpriseInfo.link_phone}" />
					</div>
					<div class="forvalidate">
						<span>联系人名称：</span>
						<input type="text" class="input" name="link_name" value="${enterpriseInfo.link_name}" />
					</div>
				</div>
				<div class="addPhoto">
					<span>简介：</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
					<textarea name="introduction" style="width:242px;height:80px;">
						${enterpriseInfo.introduction}
					</textarea>
				</div>
				<div class="addPhoto" style="position: relative;left: 14px;top: 46px;height: 30px;">
					<button class="btn btn-info" value="submit">提交</button>
				</div>
			</div>

		</form>
	</body>

</html>